POV-Ray : Newsgroups : povray.general : Joining cylinders with a miter-join : Joining cylinders with a miter-join Server Time
31 Jul 2024 14:24:41 EDT (-0400)
  Joining cylinders with a miter-join  
From: Nicolas George
Date: 22 Dec 2006 02:40:25
Message: <458b8be9$1@news.povray.org>
Hi.

I often wonder how to make cylinders joining with a miter-join, that is:

------------+
           /|
          / |
         /  |
--------+   |
        |   |
        |   |
        |   |

The solution that comes to mind immediately is to use something like:

union {
  intersection {
    cylinder { horizontal }
    plane { diagonal, interior up }
  }
  intersection {
    cylinder { vertical }
    plane { diagonal, interior down }
  }
}

But it leads to coincident surfaces. Making the cylinders overlap is not
good either, because near the point of the angle, the biggest cylinder is
the wrong one.

Any suggestion?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.